All Questions
Tagged with distributed-systemdesign-patterns
7 questions
-2votes
1answer
517views
Is this the right mechanism for 2 way heartbeat?
I have a software application where we have 2 services, say A and B. A delegates some long running work(tracked by an id) to B which is done asynchronously. They both talk via HTTP. Post submitting ...
1vote
1answer
161views
Should I use ROA or SOA for a distributed application and how could I implement REST If using ROA
For my final year project I'm looking to build a distributed version of a popular benchmarking client (this has already been done using various methods involving some form of existing frameworks), I ...
5votes
2answers
5kviews
Architecture for message processing with scheduling, at scale
I have to design the architecture of a system that processes messages in a distributed manner. If this were the only requirement, I would use a message queue like Kafka and distribute the work with ...
7votes
3answers
4kviews
How to prevent overlap booking on a calendar booking system
As an exercise, I am trying to design a simple calendar booking system for multiple meeting rooms. I kind of got my head around some requirements such as find available rooms for a given time range, ...
1vote
1answer
73views
Fail over for application that does outgoing requests
We built an application that has a list of fixed intranet URLs and crawls these periodically, transforms the data, stores it in a database. We have the requirement that the application has some kind ...
10votes
3answers
8kviews
How acceptable is to keep business logic outside entities (in separate service classes)?
We were taught that objects are self contained things with data and behaviour and therefore they should have methods that act on their attributes. But there are several situations when this coupling ...
3votes
2answers
989views
Thinking pragmatically about scalability
I was recently asked as an exercise to design a scalable graph. My first intuition was how to seperate the graph and distribute it (sharding,consistent hashing..etc) Turns out my thinking was on ...